-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: [XD-47]: Initial effort for component library docs #617
Conversation
✅ Deploy Preview for harness-xd-review ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
f621827
to
bf9c07f
Compare
2eee22e
to
8dc43d6
Compare
8dc43d6
to
093ed08
Compare
@@ -131,7 +131,7 @@ | |||
"jsdom": "^25.0.1", | |||
"lint-staged": "^15.2.9", | |||
"tailwindcss": "^3.4.14", | |||
"typescript": "^5.5.3", | |||
"typescript": "~5.6.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this upgrade as part of this PR?
any expected issues with this? not sure if other packages are using the same versions yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. I was seeing an issue reported in the console when I was integrating stuff. I'll revert and change to ~
since TS doesn't really do semver (annoyingly).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, just looking at the output of pnpm why typescript
and it looks like we're actually using TS 5.7.2 across the board
Legend: production dependency, optional only, dev only
harness-canary /Users/knagurski/development/canary
devDependencies:
@typescript-eslint/eslint-plugin 6.5.0
├─┬ @typescript-eslint/parser 6.5.0 peer
│ ├─┬ @typescript-eslint/typescript-estree 6.5.0
│ │ ├─┬ ts-api-utils 1.3.0
│ │ │ └── typescript 5.7.2 peer
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
├─┬ @typescript-eslint/type-utils 6.5.0
│ ├─┬ @typescript-eslint/typescript-estree 6.5.0
│ │ ├─┬ ts-api-utils 1.3.0
│ │ │ └── typescript 5.7.2 peer
│ │ └── typescript 5.7.2 peer
│ ├─┬ @typescript-eslint/utils 6.5.0
│ │ └─┬ @typescript-eslint/typescript-estree 6.5.0
│ │ ├─┬ ts-api-utils 1.3.0
│ │ │ └── typescript 5.7.2 peer
│ │ └── typescript 5.7.2 peer
│ ├─┬ ts-api-utils 1.3.0
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
├─┬ @typescript-eslint/utils 6.5.0
│ └─┬ @typescript-eslint/typescript-estree 6.5.0
│ ├─┬ ts-api-utils 1.3.0
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
├─┬ ts-api-utils 1.3.0
│ └── typescript 5.7.2 peer
└── typescript 5.7.2 peer
@typescript-eslint/parser 6.5.0
├─┬ @typescript-eslint/typescript-estree 6.5.0
│ ├─┬ ts-api-utils 1.3.0
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
└── typescript 5.7.2 peer
eslint-import-resolver-typescript 3.6.3
├─┬ eslint-module-utils 2.12.0
│ └─┬ @typescript-eslint/parser 6.5.0 peer
│ ├─┬ @typescript-eslint/typescript-estree 6.5.0
│ │ ├─┬ ts-api-utils 1.3.0
│ │ │ └── typescript 5.7.2 peer
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
└─┬ eslint-plugin-import 2.31.0 peer
├─┬ @typescript-eslint/parser 6.5.0 peer
│ ├─┬ @typescript-eslint/typescript-estree 6.5.0
│ │ ├─┬ ts-api-utils 1.3.0
│ │ │ └── typescript 5.7.2 peer
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
└─┬ eslint-module-utils 2.12.0
└─┬ @typescript-eslint/parser 6.5.0 peer
├─┬ @typescript-eslint/typescript-estree 6.5.0
│ ├─┬ ts-api-utils 1.3.0
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
└── typescript 5.7.2 peer
eslint-plugin-import 2.31.0
├─┬ @typescript-eslint/parser 6.5.0 peer
│ ├─┬ @typescript-eslint/typescript-estree 6.5.0
│ │ ├─┬ ts-api-utils 1.3.0
│ │ │ └── typescript 5.7.2 peer
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
└─┬ eslint-module-utils 2.12.0
└─┬ @typescript-eslint/parser 6.5.0 peer
├─┬ @typescript-eslint/typescript-estree 6.5.0
│ ├─┬ ts-api-utils 1.3.0
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
└── typescript 5.7.2 peer
eslint-plugin-tailwindcss 3.17.5
└─┬ tailwindcss 3.4.15 peer
└─┬ postcss-load-config 4.0.2
└─┬ ts-node 10.9.2 peer
└── typescript 5.7.2 peer
typescript-eslint 8.14.0
├─┬ @typescript-eslint/eslint-plugin 8.14.0
│ ├─┬ @typescript-eslint/parser 8.14.0 peer
│ │ ├─┬ @typescript-eslint/typescript-estree 8.14.0
│ │ │ ├─┬ ts-api-utils 1.3.0
│ │ │ │ └── typescript 5.7.2 peer
│ │ │ └── typescript 5.7.2 peer
│ │ └── typescript 5.7.2 peer
│ ├─┬ @typescript-eslint/type-utils 8.14.0
│ │ ├─┬ @typescript-eslint/typescript-estree 8.14.0
│ │ │ ├─┬ ts-api-utils 1.3.0
│ │ │ │ └── typescript 5.7.2 peer
│ │ │ └── typescript 5.7.2 peer
│ │ ├─┬ @typescript-eslint/utils 8.14.0
│ │ │ └─┬ @typescript-eslint/typescript-estree 8.14.0
│ │ │ ├─┬ ts-api-utils 1.3.0
│ │ │ │ └── typescript 5.7.2 peer
│ │ │ └── typescript 5.7.2 peer
│ │ ├─┬ ts-api-utils 1.3.0
│ │ │ └── typescript 5.7.2 peer
│ │ └── typescript 5.7.2 peer
│ ├─┬ @typescript-eslint/utils 8.14.0
│ │ └─┬ @typescript-eslint/typescript-estree 8.14.0
│ │ ├─┬ ts-api-utils 1.3.0
│ │ │ └── typescript 5.7.2 peer
│ │ └── typescript 5.7.2 peer
│ ├─┬ ts-api-utils 1.3.0
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
├─┬ @typescript-eslint/parser 8.14.0
│ ├─┬ @typescript-eslint/typescript-estree 8.14.0
│ │ ├─┬ ts-api-utils 1.3.0
│ │ │ └── typescript 5.7.2 peer
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
├─┬ @typescript-eslint/utils 8.14.0
│ └─┬ @typescript-eslint/typescript-estree 8.14.0
│ ├─┬ ts-api-utils 1.3.0
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
└── typescript 5.7.2 peer
That's from current main
I'll leave everything as-is for now and open another PR to standardise with ~
across all apps/packages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running in the ui
package directly shows that 5.6.3
was the version being used. So this line's change from ^5.5.3
to ~5.6.2
has no effect ¯\(ツ)/¯
This PR adds the initial (and mostly unstyled) version of the component docs app.